import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { ObserversModule } from '@angular/cdk/observers';
import { PortalModule } from '@angular/cdk/portal';
import { ScrollingModule } from '@angular/cdk/scrolling';
import { IconModule } from '../icon/api';
import { OverlaysModule, I18NModule } from '../core/api';
import { TooltipModule } from '../tooltip/api';
import { HighlightModule } from '../highlight/highlight.module';
import { EmptyModule } from '../empty/empty.module';
import { AutocompleteComponent } from './autocomplete.component';
import { AutocompleteDirective } from './autocomplete.directive';

@NgModule({
  declarations: [AutocompleteComponent, AutocompleteDirective],
  imports: [
    CommonModule,
    FormsModule,
    ObserversModule,
    IconModule,
    PortalModule,
    OverlaysModule,
    TooltipModule,
    I18NModule,
    HighlightModule,
    EmptyModule,
    ScrollingModule,
  ],
  exports: [AutocompleteComponent, AutocompleteDirective],
})
export class AutocompleteModule {}
